//
//  CircleSegment.h
//  Project 5
//
//  Created by Nguyen Tan Loc on 6/17/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import "CCSprite.h"
#import "PhysicListener.h"

@interface CircleSegment : CCSprite <PhysicListener>
{
    SEGMENT_TYPE    mType;
    COLOR_TYPE      mColorType;
    float           mRadius;
    BOOL         mIsCheckCollision;
    BOOL         mIsDestroy;
}

@property (nonatomic, readonly) SEGMENT_TYPE _type;
@property (nonatomic, readonly) COLOR_TYPE _color;

-(id) initWithType:(SEGMENT_TYPE)type color:(COLOR_TYPE)color radius:(float)radius;
-(BOOL) isCheckCollision;
-(BOOL) isDestroy;
-(void) setCheckCollision:(BOOL)b;

@end
